import cookbookIcon from '@/assets/images/cookbook.png'
import cookbookActiveIcon from '@/assets/images/cookbook-active.png'
import categoryIcon from '@/assets/images/category.png'
import categoryActiveIcon from '@/assets/images/category-active.png'
import newsIcon from '@/assets/images/news.png'
import newsActiveIcon from '@/assets/images/news-active.png'
import centerIcon from '@/assets/images/center.png'
import centerActiveIcon from '@/assets/images/center-active.png'

// 组件
import Cookbook from '@/views/Home/component/cookbook'
import Category from '@/views/Home/component/category'
import News from '@/views/Home/component/news'
import Center from '@/views/Home/component/center'

// eslint-disable-next-line
export default [
  {
    title: '菜谱',
    key: 'cookbook',
    icon: cookbookIcon,
    selectedIcon: cookbookActiveIcon,
    cmp: <Cookbook />
  },
  {
    title: '分类',
    key: 'category',
    icon: categoryIcon,
    selectedIcon: categoryActiveIcon,
    cmp: <Category />
  },
  {
    title: '资讯',
    key: 'news',
    icon: newsIcon,
    selectedIcon: newsActiveIcon,
    cmp: <News />
  },
  {
    title: '个人',
    key: 'center',
    icon: centerIcon,
    selectedIcon: centerActiveIcon,
    cmp: <Center />
  }
]

